
***************************************
* Chapter 7 
***************************************



*open data
******************************************

use "wvs7.dta", clear

svyset  [pweight=S018]
tab country


* Measurement

mean confios [pweight=S018]
mean confIMF [pweight=S018]
mean confWHO [pweight=S018]

mean confios if country==643 [pweight=S018]
mean confios if country==608 [pweight=S018]


mean edu if country==608 [pweight=S018]
mean edu if country==76 [pweight=S018]
mean edu if country==276 [pweight=S018]
mean edu if country==643 [pweight=S018]
mean edu if country==840 [pweight=S018]

mean finsathousehold if country==643 [pweight=S018]
mean finsathousehold if country==76 [pweight=S018]
mean finsathousehold if country==840 [pweight=S018]
mean finsathousehold if country==608 [pweight=S018]
mean finsathousehold if country==276 [pweight=S018]

mean leftright if country==276 [pweight=S018]
mean leftright if country==840 [pweight=S018]
mean leftright if country==76 [pweight=S018]
mean leftright if country==643 [pweight=S018]
mean leftright if country==608 [pweight=S018]

mean gal if country==608  [pweight=S018]
mean gal if country==643  [pweight=S018]
mean gal if country==840  [pweight=S018]
mean gal if country==276  [pweight=S018]
mean gal if country==76  [pweight=S018]

mean feelworld if country==643  [pweight=S018]
mean feelworld if country==840  [pweight=S018]
mean feelworld if country==76  [pweight=S018]
mean feelworld if country==276  [pweight=S018]
mean feelworld if country==608  [pweight=S018]

pwcorr feelcountry feelworld, sig 

mean feelcountry if country==76  [pweight=S018]
mean feelcountry if country==840  [pweight=S018]
mean feelcountry if country==643  [pweight=S018]
mean feelcountry if country==608  [pweight=S018]
mean feelcountry if country==276  [pweight=S018]

mean confgov if country==76  [pweight=S018]
mean confgov if country==608  [pweight=S018]
mean confgov if country==840  [pweight=S018]
mean confgov if country==276  [pweight=S018]
mean confgov if country==643  [pweight=S018]

mean polsatisfaction if country==76  [pweight=S018]
mean polsatisfaction if country==840  [pweight=S018]
mean polsatisfaction if country==643  [pweight=S018]
mean polsatisfaction if country==276  [pweight=S018]
mean polsatisfaction if country==608  [pweight=S018]



* Multicollinearity - no issue detected
******************************************

findit collin
//package name:  collin.pkg
// from:  https://stats.idre.ucla.edu/stat/stata/ado/analysis/


collin confios edu finsathousehold leftright gal feelworld feelcountry confgov polsatisfaction age male // 
collin confICC edu finsathousehold leftright gal feelworld feelcountry confgov polsatisfaction age male // 
collin confIMF edu finsathousehold leftright gal feelworld feelcountry confgov polsatisfaction age male // 
collin confUN edu finsathousehold leftright gal feelworld feelcountry confgov polsatisfaction age male // 
collin confWB edu finsathousehold leftright gal feelworld feelcountry confgov polsatisfaction age male // 
collin confWHO edu finsathousehold leftright gal feelworld feelcountry confgov polsatisfaction age male // 
collin confWTO edu finsathousehold leftright gal feelworld feelcountry confgov polsatisfaction age male // 



* Run regressions 
******************************************

*control for country dummies in pooled models (Table 7.1)
tab country, gen(cd)



* Table 7.1

// svyset [pweight=S018] // see line 13 under 'Open data'
 
svy:reg confios edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male cd2-cd5
eststo all

svy:reg confICC edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male cd2-cd5 
eststo ICC

svy:reg confIMF edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male cd2-cd5 
eststo IMF

svy:reg confUN edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male cd2-cd5 
eststo UN

svy:reg confWB edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male cd2-cd5 
eststo WB

svy:reg confWHO edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male cd2-cd5 
eststo WHO

svy:reg confWTO edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male cd2-cd5 
eststo WTO

#delimit ;
esttab all ICC IMF UN WB WHO WTO using table7_1.rtf,
starlevels(* .05 ** .01 *** .001) b(%9.3f) r2(%9.3f) nodepvars not 
se(%9.3f) replace;
#delimit cr 

pwcorr confgov polsatisfaction, sig

* Table 7.2

svy:reg confios edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male if country==76 
eststo bra

svy:reg confios edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male if country==276 
eststo ger

svy:reg confios edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male if country==608
eststo phi

svy:reg confios edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male if country==643
eststo rus

svy:reg confios edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male if country==840 
eststo us

#delimit ;
esttab bra ger phi rus us using table7_2.rtf,
starlevels(* .05 ** .01 *** .001) b(%9.3f) r2(%9.3f) nodepvars not 
se(%9.3f) replace;
#delimit cr 

pwcorr confgov confios, sig

sort country
by country: pwcorr confgov confios, sig

pwcorr polsatisfaction confios, sig
sort country
by country: pwcorr polsatisfaction confios, sig

* Table 7.3

svy:reg confICC edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male if country==76
eststo ICC

svy:reg confIMF edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male if country==76
eststo IMF

svy:reg confUN edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male if country==76
eststo UN

svy:reg confWB edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male if country==76
eststo WB

svy:reg confWHO edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male if country==76
eststo WHO

svy:reg confWTO edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male if country==76
eststo WTO

#delimit ;
esttab  ICC IMF UN WB WHO WTO using table7_3_BRA.rtf,
starlevels(* .05 ** .01 *** .001) b(%9.3f) r2(%9.3f) nodepvars 
se(%9.3f) replace;
#delimit cr 

* Table 7.4


svy:reg confICC edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male if country==276
eststo ICC

svy:reg confIMF edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male if country==276
eststo IMF

svy:reg confUN edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male if country==276
eststo UN

svy:reg confWB edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male if country==276
eststo WB

svy:reg confWHO edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male if country==276
eststo WHO

svy:reg confWTO edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male if country==276
eststo WTO

#delimit ;
esttab  ICC IMF UN WB WHO WTO using table7_4_DE.rtf,
starlevels(* .05 ** .01 *** .001) b(%9.3f) r2(%9.3f) nodepvars 
se(%9.3f) replace;
#delimit cr 

* Table 7.5


svy:reg confICC edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male if country==608
eststo ICC

svy:reg confIMF edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male if country==608
eststo IMF

svy:reg confUN edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male if country==608
eststo UN

svy:reg confWB edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male if country==608
eststo WB

svy:reg confWHO edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male if country==608
eststo WHO

svy:reg confWTO edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male if country==608
eststo WTO

#delimit ;
esttab  ICC IMF UN WB WHO WTO using table7_5_PHI.rtf,
starlevels(* .05 ** .01 *** .001) b(%9.3f) r2(%9.3f) nodepvars 
se(%9.3f) replace;
#delimit cr 

* Table 7.6

svy:reg confICC edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male if country==643
eststo ICC

svy:reg confIMF edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male if country==643
eststo IMF

svy:reg confUN edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male if country==643
eststo UN

svy:reg confWB edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male if country==643
eststo WB

svy:reg confWHO edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male if country==643
eststo WHO

svy:reg confWTO edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male if country==643
eststo WTO

#delimit ;
esttab ICC IMF UN WB WHO WTO using table7_6_RU.rtf,
starlevels(* .05 ** .01 *** .001) b(%9.3f) r2(%9.3f) nodepvars 
se(%9.3f) replace;
#delimit cr 


pwcorr feelworld confios, sig
pwcorr feelcountry confios, sig

* Table 7.7

svy:reg confICC edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male if country==840
eststo ICC

svy:reg confIMF edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male if country==840
eststo IMF

svy:reg confUN edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male if country==840
eststo UN

svy:reg confWB edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male if country==840
eststo WB

svy:reg confWHO edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male if country==840
eststo WHO

svy:reg confWTO edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male if country==840
eststo WTO

#delimit ;
esttab ICC IMF UN WB WHO WTO using table7_7_US.rtf,
starlevels(* .05 ** .01 *** .001) b(%9.3f) r2(%9.3f) nodepvars 
se(%9.3f) replace;
#delimit cr 



* in text

pwcorr edu confios, sig
sort country
by country: pwcorr edu confios, sig

pwcorr finsathousehold confios, sig
sort country
by country: pwcorr finsathousehold confios, sig


pwcorr leftright confios, sig
sort country
by country: pwcorr leftright confios, sig

pwcorr gal confios, sig
sort country
by country: pwcorr gal confios, sig

tab2 gal confios, chi
sort country
by country: tab2 gal confios, chi

******************************************

* Bivariate analysis
******************************************

set scheme plotplain


 
* Figure 7.1 

label define conf 0 "None at all" 1 "Not very much" 2 "Quite a lot" 3 "A great deal"
label values confgov conf

#delimit ;
graph bar confios [pweight=S018], 
over(confgov, sort(descending) ) 
 ytitle("Average confidence in IOs")  title(All countries)
 ylabel(0 "None at all" 1 "Not very much" 2 "Quite a lot" 3 "A great deal", 
 labsize(small) labcolor(black) angle(horizontal) ///
 glcolor(gs14) gmax ) bar(3, color(g2)) legend(col(1) size(medsmall))  
 saving(fig_1_all.gph, replace)
;
#delimit cr

#delimit ;
graph bar confios [pweight=S018] if B_COUNTRY=="BRA", 
over(confgov, sort(descending)) 
  ytitle("Average confidence in IOs")   title(Brazil)
 ylabel(0 "None at all" 1 "Not very much" 2 "Quite a lot" 3 "A great deal", 
 labsize(small) labcolor(black) angle(horizontal) ///
 glcolor(gs14) gmax) bar(3, color(g2)) legend(col(1) size(medsmall))
 saving(fig_1_bra.gph, replace)
;
#delimit cr


#delimit ;
graph bar confios [pweight=S018]  if B_COUNTRY=="DEU", 
over(confgov, sort(descending)) 
  ytitle("Average confidence in IOs")  title(Germany)
 ylabel(0 "None at all" 1 "Not very much" 2 "Quite a lot" 3 "A great deal", 
 labsize(small) labcolor(black) angle(horizontal) ///
 glcolor(gs14) gmax)   bar(3, color(g2)) legend(col(1) size(medsmall))
 saving(fig_1_de.gph, replace)
;
#delimit cr


#delimit ;
graph bar confios [pweight=S018] if B_COUNTRY=="PHL", 
over(confgov, sort(descending)) 
  ytitle("Average confidence in IOs")    title(Philippines)
 ylabel(0 "None at all" 1 "Not very much" 2 "Quite a lot" 3 "A great deal", 
 labsize(small) labcolor(black) angle(horizontal) ///
 glcolor(gs14) gmax)    bar(3, color(g2)) legend(col(1) size(medsmall))
 saving(fig_1_phi.gph, replace)
;
#delimit cr



#delimit ;
graph bar confios [pweight=S018] if B_COUNTRY=="RUS", 
over(confgov, sort(descending)) 
 ytitle("Average confidence in IOs")    title(Russia)
 ylabel(0 "None at all" 1 "Not very much" 2 "Quite a lot" 3 "A great deal", 
 labsize(small) labcolor(black) angle(horizontal) ///
 glcolor(gs14) gmax)    bar(3, color(g2)) legend(col(1) size(medsmall))
 saving(fig_1_rus.gph, replace)
;
#delimit cr


#delimit ;
graph bar confios [pweight=S018] if B_COUNTRY=="USA", 
over(confgov, sort(descending)) 
  ytitle("Average confidence in IOs")  title(US)
 ylabel(0 "None at all" 1 "Not very much" 2 "Quite a lot" 3 "A great deal", 
 labsize(small) labcolor(black) angle(horizontal) ///
 glcolor(gs14) gmax)    bar(3, color(g2)) legend(col(1) size(medsmall))
 saving(fig_1_us.gph, replace)
;
#delimit cr

graph combine fig_1_all.gph fig_1_bra.gph fig_1_de.gph fig_1_phi.gph ///
fig_1_rus.gph fig_1_us.gph, ycommon  col(2) 



* Figure 7.2



#delimit ;
graph bar confios [pweight=S018], 
over(polsatisfaction, sort(descending) ) 
 ytitle("") title(All countries)
 ylabel(0 "None at all" 1 "Not very much" 2 "Quite a lot" 3 "A great deal", 
 labsize(small) labcolor(black) angle(horizontal) ///
 glcolor(gs14) gmax) bar(3, color(g2)) legend(col(1) size(medsmall))
 saving(fig_1_all.gph, replace) 
;
#delimit cr

#delimit ;
graph bar confios [pweight=S018] if B_COUNTRY=="BRA", 
over(polsatisfaction, sort(descending) ) 
 ytitle("") title(Brazil)
 ylabel(0 "None at all" 1 "Not very much" 2 "Quite a lot" 3 "A great deal", 
 labsize(small) labcolor(black) angle(horizontal) ///
 glcolor(gs14) gmax) bar(3, color(g2)) legend(col(1) size(medsmall))
 saving(fig_1_bra.gph, replace)
;
#delimit cr


#delimit ;
graph bar confios [pweight=S018]  if B_COUNTRY=="DEU", 
over(polsatisfaction, sort(descending) ) 
 ytitle("") title(Germany)
 ylabel(0 "None at all" 1 "Not very much" 2 "Quite a lot" 3 "A great deal", 
 labsize(small) labcolor(black) angle(horizontal) ///
 glcolor(gs14) gmax) bar(3, color(g2)) legend(col(1) size(medsmall))
 saving(fig_1_de.gph, replace)
;
#delimit cr


#delimit ;
graph bar confios [pweight=S018] if B_COUNTRY=="PHL", 
over(polsatisfaction, sort(descending) ) 
 ytitle("") title(Philippines)
 ylabel(0 "None at all" 1 "Not very much" 2 "Quite a lot" 3 "A great deal", 
 labsize(small) labcolor(black) angle(horizontal) ///
 glcolor(gs14) gmax) bar(3, color(g2)) legend(col(1) size(medsmall))
 saving(fig_1_phi.gph, replace)
;
#delimit cr



#delimit ;
graph bar confios [pweight=S018] if B_COUNTRY=="RUS", 
over(polsatisfaction, sort(descending) ) 
 ytitle("") title(Russia)
 ylabel(0 "None at all" 1 "Not very much" 2 "Quite a lot" 3 "A great deal", 
 labsize(small) labcolor(black) angle(horizontal) ///
 glcolor(gs14) gmax) bar(3, color(g2)) legend(col(1) size(medsmall))
 saving(fig_1_rus.gph, replace)
;
#delimit cr


#delimit ;
graph bar confios [pweight=S018] if B_COUNTRY=="USA", 
over(polsatisfaction, sort(descending) ) 
 ytitle("") title(US)
 ylabel(0 "None at all" 1 "Not very much" 2 "Quite a lot" 3 "A great deal", 
 labsize(small) labcolor(black) angle(horizontal) ///
 glcolor(gs14) gmax) bar(3, color(g2)) legend(col(1) size(medsmall))
 saving(fig_1_us.gph, replace)
;
#delimit cr

graph combine fig_1_all.gph fig_1_bra.gph fig_1_de.gph fig_1_phi.gph ///
fig_1_rus.gph fig_1_us.gph, ycommon  col(3)

 
 
 
 
 

* Figure 7.3



#delimit ;
graph bar confios [pweight=S018], 
over(feelworld, sort(descending)) 
 ytitle("") title(All countries)
 ylabel(0 "None at all" 1 "Not very much" 2 "Quite a lot" 3 "A great deal", 
 labsize(small) labcolor(black) angle(horizontal) ///
 glcolor(gs14) gmax) bar(3, color(g2)) legend(col(1) size(medsmall))
 saving(fig_1_all.gph, replace)
;
#delimit cr

#delimit ;
graph bar confios [pweight=S018] if B_COUNTRY=="BRA", 
over(feelworld, sort(descending)) 
 ytitle("") title(Brazil)
 ylabel(0 "None at all" 1 "Not very much" 2 "Quite a lot" 3 "A great deal", 
 labsize(small) labcolor(black) angle(horizontal) ///
 glcolor(gs14) gmax) bar(3, color(g2)) legend(col(1) size(medsmall))
 saving(fig_1_bra.gph, replace)
;
#delimit cr


#delimit ;
graph bar confios [pweight=S018]  if B_COUNTRY=="DEU", 
over(feelworld, sort(descending)) 
 ytitle("") title(Germany)
 ylabel(0 "None at all" 1 "Not very much" 2 "Quite a lot" 3 "A great deal", 
 labsize(small) labcolor(black) angle(horizontal) ///
 glcolor(gs14) gmax) bar(3, color(g2)) legend(col(1) size(medsmall))
 saving(fig_1_de.gph, replace)
;
#delimit cr


#delimit ;
graph bar confios [pweight=S018] if B_COUNTRY=="PHL", 
over(feelworld, sort(descending)) 
 ytitle("") title(Philippines)
 ylabel(0 "None at all" 1 "Not very much" 2 "Quite a lot" 3 "A great deal", 
 labsize(small) labcolor(black) angle(horizontal) ///
 glcolor(gs14) gmax) bar(3, color(g2)) legend(col(1) size(medsmall))
 saving(fig_1_phi.gph, replace)
;
#delimit cr



#delimit ;
graph bar confios [pweight=S018] if B_COUNTRY=="RUS", 
over(feelworld, sort(descending)) 
 ytitle("") title(Russia)
 ylabel(0 "None at all" 1 "Not very much" 2 "Quite a lot" 3 "A great deal", 
 labsize(small) labcolor(black) angle(horizontal) ///
 glcolor(gs14) gmax) bar(3, color(g2)) legend(col(1) size(medsmall))
 saving(fig_1_rus.gph, replace)
;
#delimit cr


#delimit ;
graph bar confios [pweight=S018] if B_COUNTRY=="USA", 
over(feelworld, sort(descending)) 
 ytitle("") title(US)
 ylabel(0 "None at all" 1 "Not very much" 2 "Quite a lot" 3 "A great deal", 
 labsize(small) labcolor(black) angle(horizontal) ///
 glcolor(gs14) gmax) bar(3, color(g2)) legend(col(1) size(medsmall))
 saving(fig_1_us.gph, replace)
;
#delimit cr

graph combine fig_1_all.gph fig_1_bra.gph fig_1_de.gph fig_1_phi.gph ///
fig_1_rus.gph fig_1_us.gph, ycommon  col(3)








* Figure 7.4




#delimit ;
graph bar confios [pweight=S018], 
over(feelcountry, sort(descending)) 
 ytitle("") title(All countries)
 ylabel(0 "None at all" 1 "Not very much" 2 "Quite a lot" 3 "A great deal", 
 labsize(small) labcolor(black) angle(horizontal) ///
 glcolor(gs14) gmax) bar(3, color(g2)) legend(col(1) size(medsmall))
 saving(fig_1_all.gph, replace)
;
#delimit cr

#delimit ;
graph bar confios [pweight=S018] if B_COUNTRY=="BRA", 
over(feelcountry, sort(descending)) 
 ytitle("") title(Brazil)
 ylabel(0 "None at all" 1 "Not very much" 2 "Quite a lot" 3 "A great deal", 
 labsize(small) labcolor(black) angle(horizontal) ///
 glcolor(gs14) gmax) bar(3, color(g2)) legend(col(1) size(medsmall))
 saving(fig_1_bra.gph, replace)
;
#delimit cr


#delimit ;
graph bar confios [pweight=S018]  if B_COUNTRY=="DEU", 
over(feelcountry, sort(descending)) 
 ytitle("") title(Germany)
 ylabel(0 "None at all" 1 "Not very much" 2 "Quite a lot" 3 "A great deal", 
 labsize(small) labcolor(black) angle(horizontal) ///
 glcolor(gs14) gmax) bar(3, color(g2)) legend(col(1) size(medsmall))
 saving(fig_1_de.gph, replace)
;
#delimit cr


#delimit ;
graph bar confios [pweight=S018] if B_COUNTRY=="PHL", 
over(feelcountry, sort(descending)) 
 ytitle("") title(Philippines)
 ylabel(0 "None at all" 1 "Not very much" 2 "Quite a lot" 3 "A great deal", 
 labsize(small) labcolor(black) angle(horizontal) ///
 glcolor(gs14) gmax) bar(3, color(g2)) legend(col(1) size(medsmall))
 saving(fig_1_phi.gph, replace)
;
#delimit cr



#delimit ;
graph bar confios [pweight=S018] if B_COUNTRY=="RUS", 
over(feelcountry, sort(descending)) 
 ytitle("") title(Russia)
 ylabel(0 "None at all" 1 "Not very much" 2 "Quite a lot" 3 "A great deal", 
 labsize(small) labcolor(black) angle(horizontal) ///
 glcolor(gs14) gmax) bar(3, color(g2)) legend(col(1) size(medsmall))
 saving(fig_1_rus.gph, replace)
;
#delimit cr


#delimit ;
graph bar confios [pweight=S018] if B_COUNTRY=="USA", 
over(feelcountry, sort(descending)) 
 ytitle("") title(US)
 ylabel(0 "None at all" 1 "Not very much" 2 "Quite a lot" 3 "A great deal", 
 labsize(small) labcolor(black) angle(horizontal) ///
 glcolor(gs14) gmax) bar(3, color(g2)) legend(col(1) size(medsmall))
 saving(fig_1_us.gph, replace)
;
#delimit cr

graph combine fig_1_all.gph fig_1_bra.gph fig_1_de.gph fig_1_phi.gph ///
fig_1_rus.gph fig_1_us.gph, ycommon  col(3)




 

* Figure 7.5

label drop Q275

#delimit ;
graph bar confios [pweight=S018], 
over(edu, sort(descending)) 
 ytitle("") title(All countries)
 ylabel(0 "None at all" 1 "Not very much" 2 "Quite a lot" 3 "A great deal", 
 labsize(small) labcolor(black) angle(horizontal) ///
 glcolor(gs14) gmax) bar(3, color(g2)) legend(col(1) size(medsmall))
 saving(fig_1_all.gph, replace)
;
#delimit cr

tab edu
label define edu 0 "0" 1 "1" 2 "2" 3 "3" 4 "4" 5 "5" 6 "6" 7 "7" 8 "8" , modify
label values edu edu   
ed edu confios if edu==.& B_COUNTRY=="BRA"

preserve
replace edu=4 in 94 
replace edu=5 in 722 
replace confios=0 in 94
replace confios=0 in 722

#delimit ;
graph bar confios [pweight=S018] if B_COUNTRY=="BRA", 
over(edu, sort(descending)) 
 ytitle("") title(Brazil)
 ylabel(0 "None at all" 1 "Not very much" 2 "Quite a lot" 3 "A great deal", 
 labsize(small) labcolor(black) angle(horizontal) ///
 glcolor(gs14) gmax) bar(3, color(g2)) legend(col(1) size(medsmall))
 saving(fig_1_bra.gph, replace)
;
#delimit cr


#delimit ;
graph bar confios [pweight=S018]  if B_COUNTRY=="DEU", 
over(edu, sort(descending)) 
 ytitle("") title(Germany)
 ylabel(0 "None at all" 1 "Not very much" 2 "Quite a lot" 3 "A great deal", 
 labsize(small) labcolor(black) angle(horizontal) ///
 glcolor(gs14) gmax) bar(3, color(g2)) legend(col(1) size(medsmall))
 saving(fig_1_de.gph, replace)
;
#delimit cr



preserve
replace edu=8 in 4490  
replace confios=0 in 4490 

#delimit ;
graph bar confios [pweight=S018] if B_COUNTRY=="PHL", 
over(edu, sort(descending)) 
 ytitle("") title(Philippines)
 ylabel(0 "None at all" 1 "Not very much" 2 "Quite a lot" 3 "A great deal", 
 labsize(small) labcolor(black) angle(horizontal) ///
 glcolor(gs14) gmax) bar(3, color(g2)) legend(col(1) size(medsmall))
 saving(fig_1_phi.gph, replace)
;
#delimit cr



#delimit ;
graph bar confios [pweight=S018] if B_COUNTRY=="RUS", 
over(edu, sort(descending)) 
 ytitle("") title(Russia)
 ylabel(0 "None at all" 1 "Not very much" 2 "Quite a lot" 3 "A great deal", 
 labsize(small) labcolor(black) angle(horizontal) ///
 glcolor(gs14) gmax) bar(3, color(g2)) legend(col(1) size(medsmall))
 saving(fig_1_rus.gph, replace)
;
#delimit cr


#delimit ;
graph bar confios [pweight=S018] if B_COUNTRY=="USA", 
over(edu, sort(descending)) 
 ytitle("") title(US)
 ylabel(0 "None at all" 1 "Not very much" 2 "Quite a lot" 3 "A great deal", 
 labsize(small) labcolor(black) angle(horizontal) ///
 glcolor(gs14) gmax) bar(3, color(g2)) legend(col(1) size(medsmall))
 saving(fig_1_us.gph, replace)
;
#delimit cr

graph combine fig_1_all.gph fig_1_bra.gph fig_1_de.gph fig_1_phi.gph ///
fig_1_rus.gph fig_1_us.gph, ycommon  col(3)




*Figure 7.6


#delimit ;
graph bar confios [pweight=S018], 
over(finsathousehold, sort(descending)) 
 ytitle("") title(All countries)
 ylabel(0 "None at all" 1 "Not very much" 2 "Quite a lot" 3 "A great deal", 
 labsize(small) labcolor(black) angle(horizontal) ///
 glcolor(gs14) gmax) bar(3, color(g2)) legend(col(1) size(medsmall))
 saving(fig_1_all.gph, replace)
;
#delimit cr

#delimit ;
graph bar confios [pweight=S018] if B_COUNTRY=="BRA", 
over(finsathousehold, sort(descending)) 
 ytitle("") title(Brazil)
 ylabel(0 "None at all" 1 "Not very much" 2 "Quite a lot" 3 "A great deal", 
 labsize(small) labcolor(black) angle(horizontal) ///
 glcolor(gs14) gmax) bar(3, color(g2)) legend(col(1) size(medsmall))
 saving(fig_1_bra.gph, replace)
;
#delimit cr


#delimit ;
graph bar confios [pweight=S018]  if B_COUNTRY=="DEU", 
over(finsathousehold, sort(descending)) 
 ytitle("") title(Germany)
 ylabel(0 "None at all" 1 "Not very much" 2 "Quite a lot" 3 "A great deal", 
 labsize(small) labcolor(black) angle(horizontal) ///
 glcolor(gs14) gmax) bar(3, color(g2)) legend(col(1) size(medsmall))
 saving(fig_1_de.gph, replace)
;
#delimit cr


#delimit ;
graph bar confios [pweight=S018] if B_COUNTRY=="PHL", 
over(finsathousehold, sort(descending)) 
 ytitle("") title(Philippines)
 ylabel(0 "None at all" 1 "Not very much" 2 "Quite a lot" 3 "A great deal", 
 labsize(small) labcolor(black) angle(horizontal) ///
 glcolor(gs14) gmax) bar(3, color(g2)) legend(col(1) size(medsmall))
 saving(fig_1_phi.gph, replace)
;
#delimit cr



#delimit ;
graph bar confios [pweight=S018] if B_COUNTRY=="RUS", 
over(finsathousehold, sort(descending)) 
 ytitle("") title(Russia)
 ylabel(0 "None at all" 1 "Not very much" 2 "Quite a lot" 3 "A great deal", 
 labsize(small) labcolor(black) angle(horizontal) ///
 glcolor(gs14) gmax) bar(3, color(g2)) legend(col(1) size(medsmall))
 saving(fig_1_rus.gph, replace)
;
#delimit cr


#delimit ;
graph bar confios [pweight=S018] if B_COUNTRY=="USA", 
over(finsathousehold, sort(descending)) 
 ytitle("") title(US)
 ylabel(0 "None at all" 1 "Not very much" 2 "Quite a lot" 3 "A great deal", 
 labsize(small) labcolor(black) angle(horizontal) ///
 glcolor(gs14) gmax) bar(3, color(g2)) legend(col(1) size(medsmall))
 saving(fig_1_us.gph, replace)
;
#delimit cr

graph combine fig_1_all.gph fig_1_bra.gph fig_1_de.gph fig_1_phi.gph ///
fig_1_rus.gph fig_1_us.gph, ycommon  col(3)





* Figure 7.7



label define lr 0 "Left" 9 "Right"
label values leftright lr


#delimit ;
graph bar confios [pweight=S018], 
over(leftright, sort(descending)) 
 ytitle("") title(All countries)
 ylabel(0 "None at all" 1 "Not very much" 2 "Quite a lot" 3 "A great deal", 
 labsize(small) labcolor(black) angle(horizontal) ///
 glcolor(gs14) gmax) bar(3, color(g2)) legend(col(1) size(medsmall))
 saving(fig_1_all.gph, replace)
;
#delimit cr

#delimit ;
graph bar confios [pweight=S018] if B_COUNTRY=="BRA", 
over(leftright, sort(descending)) 
 ytitle("") title(Brazil)
 ylabel(0 "None at all" 1 "Not very much" 2 "Quite a lot" 3 "A great deal", 
 labsize(small) labcolor(black) angle(horizontal) ///
 glcolor(gs14) gmax) bar(3, color(g2)) legend(col(1) size(medsmall))
 saving(fig_1_bra.gph, replace)
;
#delimit cr


#delimit ;
graph bar confios [pweight=S018]  if B_COUNTRY=="DEU", 
over(leftright, sort(descending)) 
 ytitle("") title(Germany)
 ylabel(0 "None at all" 1 "Not very much" 2 "Quite a lot" 3 "A great deal", 
 labsize(small) labcolor(black) angle(horizontal) ///
 glcolor(gs14) gmax) bar(3, color(g2)) legend(col(1) size(medsmall))
 saving(fig_1_de.gph, replace)
;
#delimit cr


#delimit ;
graph bar confios [pweight=S018] if B_COUNTRY=="PHL", 
over(leftright, sort(descending)) 
 ytitle("") title(Philippines)
 ylabel(0 "None at all" 1 "Not very much" 2 "Quite a lot" 3 "A great deal", 
 labsize(small) labcolor(black) angle(horizontal) ///
 glcolor(gs14) gmax) bar(3, color(g2)) legend(col(1) size(medsmall))
 saving(fig_1_phi.gph, replace)
;
#delimit cr



#delimit ;
graph bar confios [pweight=S018] if B_COUNTRY=="RUS", 
over(leftright, sort(descending)) 
 ytitle("") title(Russia)
 ylabel(0 "None at all" 1 "Not very much" 2 "Quite a lot" 3 "A great deal", 
 labsize(small) labcolor(black) angle(horizontal) ///
 glcolor(gs14) gmax) bar(3, color(g2)) legend(col(1) size(medsmall))
 saving(fig_1_rus.gph, replace)
;
#delimit cr


#delimit ;
graph bar confios [pweight=S018] if B_COUNTRY=="USA", 
over(leftright, sort(descending)) 
 ytitle("") title(US)
 ylabel(0 "None at all" 1 "Not very much" 2 "Quite a lot" 3 "A great deal", 
 labsize(small) labcolor(black) angle(horizontal) ///
 glcolor(gs14) gmax) bar(3, color(g2)) legend(col(1) size(medsmall))
 saving(fig_1_us.gph, replace)
;
#delimit cr

graph combine fig_1_all.gph fig_1_bra.gph fig_1_de.gph fig_1_phi.gph ///
fig_1_rus.gph fig_1_us.gph, ycommon  col(3)




* Figure 7.8


#delimit ;
graph bar confios [pweight=S018], 
over(gal, sort(descending) relabel(1 "TAN" 2 "GAL")) 
 ytitle("") title(All countries)
 ylabel(0 "None at all" 1 "Not very much" 2 "Quite a lot" 3 "A great deal", 
 labsize(small) labcolor(black) angle(horizontal) ///
 glcolor(gs14) gmax) bar(3, color(g2)) legend(col(1) size(medsmall))
 saving(fig_1_all.gph, replace)
;
#delimit cr


#delimit ;
graph bar confios [pweight=S018] if B_COUNTRY=="BRA", 
over(gal, sort(descending) relabel(1 "TAN" 2 "GAL")) 
 ytitle("") title(Brazil)
 ylabel(0 "None at all" 1 "Not very much" 2 "Quite a lot" 3 "A great deal", 
 labsize(small) labcolor(black) angle(horizontal) ///
 glcolor(gs14) gmax) bar(3, color(g2)) legend(col(1) size(medsmall))
 saving(fig_1_bra.gph, replace)
;
#delimit cr


#delimit ;
graph bar confios [pweight=S018]  if B_COUNTRY=="DEU", 
over(gal, sort(descending) relabel(1 "TAN" 2 "GAL")) 
 ytitle("") title(Germany)
 ylabel(0 "None at all" 1 "Not very much" 2 "Quite a lot" 3 "A great deal", 
 labsize(small) labcolor(black) angle(horizontal) ///
 glcolor(gs14) gmax) bar(3, color(g2)) legend(col(1) size(medsmall))
 saving(fig_1_de.gph, replace)
;
#delimit cr


#delimit ;
graph bar confios [pweight=S018] if B_COUNTRY=="PHL", 
over(gal, sort(descending) relabel(1 "TAN" 2 "GAL")) 
 ytitle("") title(Philippines)
 ylabel(0 "None at all" 1 "Not very much" 2 "Quite a lot" 3 "A great deal", 
 labsize(small) labcolor(black) angle(horizontal) ///
 glcolor(gs14) gmax) bar(3, color(g2)) legend(col(1) size(medsmall))
 saving(fig_1_phi.gph, replace)
;
#delimit cr



#delimit ;
graph bar confios [pweight=S018] if B_COUNTRY=="RUS", 
over(gal, sort(descending) relabel(1 "TAN" 2 "GAL")) 
 ytitle("") title(Russia)
 ylabel(0 "None at all" 1 "Not very much" 2 "Quite a lot" 3 "A great deal", 
 labsize(small) labcolor(black) angle(horizontal) ///
 glcolor(gs14) gmax) bar(3, color(g2)) legend(col(1) size(medsmall))
 saving(fig_1_rus.gph, replace)
;
#delimit cr


#delimit ;
graph bar confios [pweight=S018] if B_COUNTRY=="USA", 
over(gal, sort(descending) relabel(1 "TAN" 2 "GAL")) 
 ytitle("") title(US)
 ylabel(0 "None at all" 1 "Not very much" 2 "Quite a lot" 3 "A great deal", 
 labsize(small) labcolor(black) angle(horizontal) ///
 glcolor(gs14) gmax) bar(3, color(g2)) legend(col(1) size(medsmall))
 saving(fig_1_us.gph, replace)
;
#delimit cr

graph combine fig_1_all.gph fig_1_bra.gph fig_1_de.gph fig_1_phi.gph ///
fig_1_rus.gph fig_1_us.gph, ycommon  col(3)

 
 
 
 
 
 
 
*********
* appendix/ robustness checks
*********

*****************
* Print appendix
*****************

* Descriptive statistics and correlations 
******************************************

* Appendix B

logout, save(printappendix_B_citizens) word replace: ///
tabstat confios confICC confIMF confUN confWB confWHO confWTO edu finsathousehold leftright gal feelworld feelcountry confgov polsatisfaction age male gentrust polknow ///
, stat(min mean max sd n) col(stat) format(%9.3f)


* Appendix C

logout, save(printappendix_C_citizens) word replace: ///
pwcorr edu finsathousehold leftright gal feelworld feelcountry confgov polsatisfaction age male gentrust knowledge_DK0



**********************
/* Online Appendix I
**********************


A.      Main models excluding confidence in government WVS7 
B.      Main models excluding political satisfaction WVS7
C.      Main models excluding national identification WVS7
D.      Main models excluding global identification WVS7
E.      Mediation analysis social trust WVS7
F.      Heuristic test knowledge about global governance WVS7
G. 		Variance decomposition WVS7
*/


*A.      Main models excluding confidence in government WVS7  

tab country, gen(cd)



* Table 7.1

svy:reg confios edu finsathousehold leftright i.gal feelworld feelcountry  polsatisfaction age i.male cd2-cd5
eststo all

svy:reg confICC edu finsathousehold leftright i.gal feelworld feelcountry  polsatisfaction age i.male cd2-cd5 
eststo ICC

svy:reg confIMF edu finsathousehold leftright i.gal feelworld feelcountry  polsatisfaction age i.male cd2-cd5 
eststo IMF

svy:reg confUN edu finsathousehold leftright i.gal feelworld feelcountry  polsatisfaction age i.male cd2-cd5 
eststo UN

svy:reg confWB edu finsathousehold leftright i.gal feelworld feelcountry  polsatisfaction age i.male cd2-cd5 
eststo WB

svy:reg confWHO edu finsathousehold leftright i.gal feelworld feelcountry  polsatisfaction age i.male cd2-cd5 
eststo WHO

svy:reg confWTO edu finsathousehold leftright i.gal feelworld feelcountry  polsatisfaction age i.male cd2-cd5 
eststo WTO

#delimit ;
esttab all ICC IMF UN WB WHO WTO using tableA_1.rtf,
starlevels(* .05 ** .01 *** .001) b(%9.3f) r2(%9.3f) nodepvars not 
se(%9.3f) replace;
#delimit cr 


* Table 7.2

svy:reg confios edu finsathousehold leftright i.gal feelworld feelcountry  polsatisfaction age i.male if country==76 
eststo bra

svy:reg confios edu finsathousehold leftright i.gal feelworld feelcountry  polsatisfaction age i.male if country==276 
eststo ger

svy:reg confios edu finsathousehold leftright i.gal feelworld feelcountry  polsatisfaction age i.male if country==608
eststo phi

svy:reg confios edu finsathousehold leftright i.gal feelworld feelcountry  polsatisfaction age i.male if country==643
eststo rus

svy:reg confios edu finsathousehold leftright i.gal feelworld feelcountry  polsatisfaction age i.male if country==840 
eststo us

#delimit ;
esttab bra ger phi rus us using tableA_2_crossnational.rtf,
starlevels(* .05 ** .01 *** .001) b(%9.3f) r2(%9.3f) nodepvars not 
se(%9.3f) replace;
#delimit cr 

* Table 7.3


svy:reg confICC edu finsathousehold leftright i.gal feelworld feelcountry  polsatisfaction age i.male if country==76
eststo ICC

svy:reg confIMF edu finsathousehold leftright i.gal feelworld feelcountry  polsatisfaction age i.male if country==76
eststo IMF

svy:reg confUN edu finsathousehold leftright i.gal feelworld feelcountry  polsatisfaction age i.male if country==76
eststo UN

svy:reg confWB edu finsathousehold leftright i.gal feelworld feelcountry  polsatisfaction age i.male if country==76
eststo WB

svy:reg confWHO edu finsathousehold leftright i.gal feelworld feelcountry  polsatisfaction age i.male if country==76
eststo WHO

svy:reg confWTO edu finsathousehold leftright i.gal feelworld feelcountry  polsatisfaction age i.male if country==76
eststo WTO

#delimit ;
esttab ICC IMF UN WB WHO WTO using tableA_3_BRA.rtf,
starlevels(* .05 ** .01 *** .001) b(%9.3f) r2(%9.3f) nodepvars 
se(%9.3f) replace;
#delimit cr 

* Table 7.4


svy:reg confICC edu finsathousehold leftright i.gal feelworld feelcountry  polsatisfaction age i.male if country==276
eststo ICC

svy:reg confIMF edu finsathousehold leftright i.gal feelworld feelcountry  polsatisfaction age i.male if country==276
eststo IMF

svy:reg confUN edu finsathousehold leftright i.gal feelworld feelcountry  polsatisfaction age i.male if country==276
eststo UN

svy:reg confWB edu finsathousehold leftright i.gal feelworld feelcountry  polsatisfaction age i.male if country==276
eststo WB

svy:reg confWHO edu finsathousehold leftright i.gal feelworld feelcountry  polsatisfaction age i.male if country==276
eststo WHO

svy:reg confWTO edu finsathousehold leftright i.gal feelworld feelcountry  polsatisfaction age i.male if country==276
eststo WTO

#delimit ;
esttab ICC IMF UN WB WHO WTO using tableA_4_DE.rtf,
starlevels(* .05 ** .01 *** .001) b(%9.3f) r2(%9.3f) nodepvars 
se(%9.3f) replace;
#delimit cr 

* Table 7.5


svy:reg confICC edu finsathousehold leftright i.gal feelworld feelcountry  polsatisfaction age i.male if country==608
eststo ICC

svy:reg confIMF edu finsathousehold leftright i.gal feelworld feelcountry  polsatisfaction age i.male if country==608
eststo IMF

svy:reg confUN edu finsathousehold leftright i.gal feelworld feelcountry  polsatisfaction age i.male if country==608
eststo UN

svy:reg confWB edu finsathousehold leftright i.gal feelworld feelcountry  polsatisfaction age i.male if country==608
eststo WB

svy:reg confWHO edu finsathousehold leftright i.gal feelworld feelcountry  polsatisfaction age i.male if country==608
eststo WHO

svy:reg confWTO edu finsathousehold leftright i.gal feelworld feelcountry  polsatisfaction age i.male if country==608
eststo WTO

#delimit ;
esttab  ICC IMF UN WB WHO WTO using tableA_5_PHI.rtf,
starlevels(* .05 ** .01 *** .001) b(%9.3f) r2(%9.3f) nodepvars 
se(%9.3f) replace;
#delimit cr 

* Table 7.6


svy:reg confICC edu finsathousehold leftright i.gal feelworld feelcountry  polsatisfaction age i.male if country==643
eststo ICC

svy:reg confIMF edu finsathousehold leftright i.gal feelworld feelcountry  polsatisfaction age i.male if country==643
eststo IMF

svy:reg confUN edu finsathousehold leftright i.gal feelworld feelcountry  polsatisfaction age i.male if country==643
eststo UN

svy:reg confWB edu finsathousehold leftright i.gal feelworld feelcountry  polsatisfaction age i.male if country==643
eststo WB

svy:reg confWHO edu finsathousehold leftright i.gal feelworld feelcountry  polsatisfaction age i.male if country==643
eststo WHO

svy:reg confWTO edu finsathousehold leftright i.gal feelworld feelcountry  polsatisfaction age i.male if country==643
eststo WTO

#delimit ;
esttab  ICC IMF UN WB WHO WTO using tableA_6_RU.rtf,
starlevels(* .05 ** .01 *** .001) b(%9.3f) r2(%9.3f) nodepvars 
se(%9.3f) replace;
#delimit cr 

* Table 7.7


svy:reg confICC edu finsathousehold leftright i.gal feelworld feelcountry  polsatisfaction age i.male if country==840
eststo ICC

svy:reg confIMF edu finsathousehold leftright i.gal feelworld feelcountry  polsatisfaction age i.male if country==840
eststo IMF

svy:reg confUN edu finsathousehold leftright i.gal feelworld feelcountry  polsatisfaction age i.male if country==840
eststo UN

svy:reg confWB edu finsathousehold leftright i.gal feelworld feelcountry  polsatisfaction age i.male if country==840
eststo WB

svy:reg confWHO edu finsathousehold leftright i.gal feelworld feelcountry  polsatisfaction age i.male if country==840
eststo WHO

svy:reg confWTO edu finsathousehold leftright i.gal feelworld feelcountry  polsatisfaction age i.male if country==840
eststo WTO

#delimit ;
esttab  ICC IMF UN WB WHO WTO using tableA_7_US.rtf,
starlevels(* .05 ** .01 *** .001) b(%9.3f) r2(%9.3f) nodepvars 
se(%9.3f) replace;
#delimit cr 





*B.      Main models excluding political satisfaction WVS7




* Table 7.1

svy:reg confios edu finsathousehold leftright i.gal feelworld feelcountry confgov  age i.male cd2-cd5
eststo all

svy:reg confICC edu finsathousehold leftright i.gal feelworld feelcountry confgov  age i.male cd2-cd5 
eststo ICC

svy:reg confIMF edu finsathousehold leftright i.gal feelworld feelcountry confgov  age i.male cd2-cd5 
eststo IMF

svy:reg confUN edu finsathousehold leftright i.gal feelworld feelcountry confgov  age i.male cd2-cd5 
eststo UN

svy:reg confWB edu finsathousehold leftright i.gal feelworld feelcountry confgov  age i.male cd2-cd5 
eststo WB

svy:reg confWHO edu finsathousehold leftright i.gal feelworld feelcountry confgov  age i.male cd2-cd5 
eststo WHO

svy:reg confWTO edu finsathousehold leftright i.gal feelworld feelcountry confgov  age i.male cd2-cd5 
eststo WTO

#delimit ;
esttab all ICC IMF UN WB WHO WTO using tableB_1.rtf,
starlevels(* .05 ** .01 *** .001) b(%9.3f) r2(%9.3f) nodepvars not 
se(%9.3f) replace;
#delimit cr 


* Table 7.2

svy:reg confios edu finsathousehold leftright i.gal feelworld feelcountry confgov  age i.male if country==76 
eststo bra

svy:reg confios edu finsathousehold leftright i.gal feelworld feelcountry confgov  age i.male if country==276 
eststo ger

svy:reg confios edu finsathousehold leftright i.gal feelworld feelcountry confgov  age i.male if country==608
eststo phi

svy:reg confios edu finsathousehold leftright i.gal feelworld feelcountry confgov  age i.male if country==643
eststo rus

svy:reg confios edu finsathousehold leftright i.gal feelworld feelcountry confgov  age i.male if country==840 
eststo us

#delimit ;
esttab bra ger phi rus us using tableB_2_crossnational.rtf,
starlevels(* .05 ** .01 *** .001) b(%9.3f) r2(%9.3f) nodepvars not 
se(%9.3f) replace;
#delimit cr 

* Table 7.3

svy:reg confICC edu finsathousehold leftright i.gal feelworld feelcountry confgov  age i.male if country==76
eststo ICC

svy:reg confIMF edu finsathousehold leftright i.gal feelworld feelcountry confgov  age i.male if country==76
eststo IMF

svy:reg confUN edu finsathousehold leftright i.gal feelworld feelcountry confgov  age i.male if country==76
eststo UN

svy:reg confWB edu finsathousehold leftright i.gal feelworld feelcountry confgov  age i.male if country==76
eststo WB

svy:reg confWHO edu finsathousehold leftright i.gal feelworld feelcountry confgov  age i.male if country==76
eststo WHO

svy:reg confWTO edu finsathousehold leftright i.gal feelworld feelcountry confgov  age i.male if country==76
eststo WTO

#delimit ;
esttab  ICC IMF UN WB WHO WTO using tableB_3_BRA.rtf,
starlevels(* .05 ** .01 *** .001) b(%9.3f) r2(%9.3f) nodepvars 
se(%9.3f) replace;
#delimit cr 

* Table 7.4


svy:reg confICC edu finsathousehold leftright i.gal feelworld feelcountry confgov  age i.male if country==276
eststo ICC

svy:reg confIMF edu finsathousehold leftright i.gal feelworld feelcountry confgov  age i.male if country==276
eststo IMF

svy:reg confUN edu finsathousehold leftright i.gal feelworld feelcountry confgov  age i.male if country==276
eststo UN

svy:reg confWB edu finsathousehold leftright i.gal feelworld feelcountry confgov  age i.male if country==276
eststo WB

svy:reg confWHO edu finsathousehold leftright i.gal feelworld feelcountry confgov  age i.male if country==276
eststo WHO

svy:reg confWTO edu finsathousehold leftright i.gal feelworld feelcountry confgov  age i.male if country==276
eststo WTO

#delimit ;
esttab  ICC IMF UN WB WHO WTO using tableB_4_DE.rtf,
starlevels(* .05 ** .01 *** .001) b(%9.3f) r2(%9.3f) nodepvars 
se(%9.3f) replace;
#delimit cr 

* Table 7.5


svy:reg confICC edu finsathousehold leftright i.gal feelworld feelcountry confgov  age i.male if country==608
eststo ICC

svy:reg confIMF edu finsathousehold leftright i.gal feelworld feelcountry confgov  age i.male if country==608
eststo IMF

svy:reg confUN edu finsathousehold leftright i.gal feelworld feelcountry confgov  age i.male if country==608
eststo UN

svy:reg confWB edu finsathousehold leftright i.gal feelworld feelcountry confgov  age i.male if country==608
eststo WB

svy:reg confWHO edu finsathousehold leftright i.gal feelworld feelcountry confgov  age i.male if country==608
eststo WHO

svy:reg confWTO edu finsathousehold leftright i.gal feelworld feelcountry confgov  age i.male if country==608
eststo WTO

#delimit ;
esttab  ICC IMF UN WB WHO WTO using tableB_5_PHI.rtf,
starlevels(* .05 ** .01 *** .001) b(%9.3f) r2(%9.3f) nodepvars 
se(%9.3f) replace;
#delimit cr 

* Table 7.6


svy:reg confICC edu finsathousehold leftright i.gal feelworld feelcountry confgov  age i.male if country==643
eststo ICC

svy:reg confIMF edu finsathousehold leftright i.gal feelworld feelcountry confgov  age i.male if country==643
eststo IMF

svy:reg confUN edu finsathousehold leftright i.gal feelworld feelcountry confgov  age i.male if country==643
eststo UN

svy:reg confWB edu finsathousehold leftright i.gal feelworld feelcountry confgov  age i.male if country==643
eststo WB

svy:reg confWHO edu finsathousehold leftright i.gal feelworld feelcountry confgov  age i.male if country==643
eststo WHO

svy:reg confWTO edu finsathousehold leftright i.gal feelworld feelcountry confgov  age i.male if country==643
eststo WTO

#delimit ;
esttab  ICC IMF UN WB WHO WTO using tableB_6_RU.rtf,
starlevels(* .05 ** .01 *** .001) b(%9.3f) r2(%9.3f) nodepvars 
se(%9.3f) replace;
#delimit cr 

* Table 7.7


svy:reg confICC edu finsathousehold leftright i.gal feelworld feelcountry confgov  age i.male if country==840
eststo ICC

svy:reg confIMF edu finsathousehold leftright i.gal feelworld feelcountry confgov  age i.male if country==840
eststo IMF

svy:reg confUN edu finsathousehold leftright i.gal feelworld feelcountry confgov  age i.male if country==840
eststo UN

svy:reg confWB edu finsathousehold leftright i.gal feelworld feelcountry confgov  age i.male if country==840
eststo WB

svy:reg confWHO edu finsathousehold leftright i.gal feelworld feelcountry confgov  age i.male if country==840
eststo WHO

svy:reg confWTO edu finsathousehold leftright i.gal feelworld feelcountry confgov  age i.male if country==840
eststo WTO

#delimit ;
esttab  ICC IMF UN WB WHO WTO using tableB_7_US.rtf,
starlevels(* .05 ** .01 *** .001) b(%9.3f) r2(%9.3f) nodepvars 
se(%9.3f) replace;
#delimit cr 







*C.      Main models excluding national identification WVS7
 


* Table 7.1

svy:reg confios edu finsathousehold leftright i.gal feelworld  confgov polsatisfaction age i.male cd2-cd5
eststo all

svy:reg confICC edu finsathousehold leftright i.gal feelworld  confgov polsatisfaction age i.male cd2-cd5 
eststo ICC

svy:reg confIMF edu finsathousehold leftright i.gal feelworld  confgov polsatisfaction age i.male cd2-cd5 
eststo IMF

svy:reg confUN edu finsathousehold leftright i.gal feelworld  confgov polsatisfaction age i.male cd2-cd5 
eststo UN

svy:reg confWB edu finsathousehold leftright i.gal feelworld  confgov polsatisfaction age i.male cd2-cd5 
eststo WB

svy:reg confWHO edu finsathousehold leftright i.gal feelworld  confgov polsatisfaction age i.male cd2-cd5 
eststo WHO

svy:reg confWTO edu finsathousehold leftright i.gal feelworld  confgov polsatisfaction age i.male cd2-cd5 
eststo WTO

#delimit ;
esttab all ICC IMF UN WB WHO WTO using tableC_1.rtf,
starlevels(* .05 ** .01 *** .001) b(%9.3f) r2(%9.3f) nodepvars not 
se(%9.3f) replace;
#delimit cr 


* Table 7.2

svy:reg confios edu finsathousehold leftright i.gal feelworld  confgov polsatisfaction age i.male if country==76 
eststo bra

svy:reg confios edu finsathousehold leftright i.gal feelworld  confgov polsatisfaction age i.male if country==276 
eststo ger

svy:reg confios edu finsathousehold leftright i.gal feelworld  confgov polsatisfaction age i.male if country==608
eststo phi

svy:reg confios edu finsathousehold leftright i.gal feelworld  confgov polsatisfaction age i.male if country==643
eststo rus

svy:reg confios edu finsathousehold leftright i.gal feelworld  confgov polsatisfaction age i.male if country==840 
eststo us

#delimit ;
esttab bra ger phi rus us using tableC_2_crossnational.rtf,
starlevels(* .05 ** .01 *** .001) b(%9.3f) r2(%9.3f) nodepvars not 
se(%9.3f) replace;
#delimit cr 

* Table 7.3


svy:reg confICC edu finsathousehold leftright i.gal feelworld  confgov polsatisfaction age i.male if country==76
eststo ICC

svy:reg confIMF edu finsathousehold leftright i.gal feelworld  confgov polsatisfaction age i.male if country==76
eststo IMF

svy:reg confUN edu finsathousehold leftright i.gal feelworld  confgov polsatisfaction age i.male if country==76
eststo UN

svy:reg confWB edu finsathousehold leftright i.gal feelworld  confgov polsatisfaction age i.male if country==76
eststo WB

svy:reg confWHO edu finsathousehold leftright i.gal feelworld  confgov polsatisfaction age i.male if country==76
eststo WHO

svy:reg confWTO edu finsathousehold leftright i.gal feelworld  confgov polsatisfaction age i.male if country==76
eststo WTO

#delimit ;
esttab  ICC IMF UN WB WHO WTO using tableC_3_BRA.rtf,
starlevels(* .05 ** .01 *** .001) b(%9.3f) r2(%9.3f) nodepvars 
se(%9.3f) replace;
#delimit cr 

* Table 7.4


svy:reg confICC edu finsathousehold leftright i.gal feelworld  confgov polsatisfaction age i.male if country==276
eststo ICC

svy:reg confIMF edu finsathousehold leftright i.gal feelworld  confgov polsatisfaction age i.male if country==276
eststo IMF

svy:reg confUN edu finsathousehold leftright i.gal feelworld  confgov polsatisfaction age i.male if country==276
eststo UN

svy:reg confWB edu finsathousehold leftright i.gal feelworld  confgov polsatisfaction age i.male if country==276
eststo WB

svy:reg confWHO edu finsathousehold leftright i.gal feelworld  confgov polsatisfaction age i.male if country==276
eststo WHO

svy:reg confWTO edu finsathousehold leftright i.gal feelworld  confgov polsatisfaction age i.male if country==276
eststo WTO

#delimit ;
esttab  ICC IMF UN WB WHO WTO using tableC_4_DE.rtf,
starlevels(* .05 ** .01 *** .001) b(%9.3f) r2(%9.3f) nodepvars 
se(%9.3f) replace;
#delimit cr 

* Table 7.5


svy:reg confICC edu finsathousehold leftright i.gal feelworld  confgov polsatisfaction age i.male if country==608
eststo ICC

svy:reg confIMF edu finsathousehold leftright i.gal feelworld  confgov polsatisfaction age i.male if country==608
eststo IMF

svy:reg confUN edu finsathousehold leftright i.gal feelworld  confgov polsatisfaction age i.male if country==608
eststo UN

svy:reg confWB edu finsathousehold leftright i.gal feelworld  confgov polsatisfaction age i.male if country==608
eststo WB

svy:reg confWHO edu finsathousehold leftright i.gal feelworld  confgov polsatisfaction age i.male if country==608
eststo WHO

svy:reg confWTO edu finsathousehold leftright i.gal feelworld  confgov polsatisfaction age i.male if country==608
eststo WTO

#delimit ;
esttab  ICC IMF UN WB WHO WTO using tableC_5_PHI.rtf,
starlevels(* .05 ** .01 *** .001) b(%9.3f) r2(%9.3f) nodepvars 
se(%9.3f) replace;
#delimit cr 

* Table 7.6


svy:reg confICC edu finsathousehold leftright i.gal feelworld  confgov polsatisfaction age i.male if country==643
eststo ICC

svy:reg confIMF edu finsathousehold leftright i.gal feelworld  confgov polsatisfaction age i.male if country==643
eststo IMF

svy:reg confUN edu finsathousehold leftright i.gal feelworld  confgov polsatisfaction age i.male if country==643
eststo UN

svy:reg confWB edu finsathousehold leftright i.gal feelworld  confgov polsatisfaction age i.male if country==643
eststo WB

svy:reg confWHO edu finsathousehold leftright i.gal feelworld  confgov polsatisfaction age i.male if country==643
eststo WHO

svy:reg confWTO edu finsathousehold leftright i.gal feelworld  confgov polsatisfaction age i.male if country==643
eststo WTO

#delimit ;
esttab  ICC IMF UN WB WHO WTO using tableC_6_RU.rtf,
starlevels(* .05 ** .01 *** .001) b(%9.3f) r2(%9.3f) nodepvars 
se(%9.3f) replace;
#delimit cr 

* Table 7.7


svy:reg confICC edu finsathousehold leftright i.gal feelworld  confgov polsatisfaction age i.male if country==840
eststo ICC

svy:reg confIMF edu finsathousehold leftright i.gal feelworld  confgov polsatisfaction age i.male if country==840
eststo IMF

svy:reg confUN edu finsathousehold leftright i.gal feelworld  confgov polsatisfaction age i.male if country==840
eststo UN

svy:reg confWB edu finsathousehold leftright i.gal feelworld  confgov polsatisfaction age i.male if country==840
eststo WB

svy:reg confWHO edu finsathousehold leftright i.gal feelworld  confgov polsatisfaction age i.male if country==840
eststo WHO

svy:reg confWTO edu finsathousehold leftright i.gal feelworld  confgov polsatisfaction age i.male if country==840
eststo WTO

#delimit ;
esttab  ICC IMF UN WB WHO WTO using tableC_7_US.rtf,
starlevels(* .05 ** .01 *** .001) b(%9.3f) r2(%9.3f) nodepvars 
se(%9.3f) replace;
#delimit cr 





*D.      Main models excluding global identification WVS7 
 



* Table 7.1

svy:reg confios edu finsathousehold leftright i.gal  feelcountry confgov polsatisfaction age i.male cd2-cd5
eststo all

svy:reg confICC edu finsathousehold leftright i.gal  feelcountry confgov polsatisfaction age i.male cd2-cd5 
eststo ICC

svy:reg confIMF edu finsathousehold leftright i.gal  feelcountry confgov polsatisfaction age i.male cd2-cd5 
eststo IMF

svy:reg confUN edu finsathousehold leftright i.gal  feelcountry confgov polsatisfaction age i.male cd2-cd5 
eststo UN

svy:reg confWB edu finsathousehold leftright i.gal  feelcountry confgov polsatisfaction age i.male cd2-cd5 
eststo WB

svy:reg confWHO edu finsathousehold leftright i.gal  feelcountry confgov polsatisfaction age i.male cd2-cd5 
eststo WHO

svy:reg confWTO edu finsathousehold leftright i.gal  feelcountry confgov polsatisfaction age i.male cd2-cd5 
eststo WTO

#delimit ;
esttab all ICC IMF UN WB WHO WTO using tableD_1.rtf,
starlevels(* .05 ** .01 *** .001) b(%9.3f) r2(%9.3f) nodepvars not 
se(%9.3f) replace;
#delimit cr 


* Table 7.2

svy:reg confios edu finsathousehold leftright i.gal  feelcountry confgov polsatisfaction age i.male if country==76 
eststo bra

svy:reg confios edu finsathousehold leftright i.gal  feelcountry confgov polsatisfaction age i.male if country==276 
eststo ger

svy:reg confios edu finsathousehold leftright i.gal  feelcountry confgov polsatisfaction age i.male if country==608
eststo phi

svy:reg confios edu finsathousehold leftright i.gal  feelcountry confgov polsatisfaction age i.male if country==643
eststo rus

svy:reg confios edu finsathousehold leftright i.gal  feelcountry confgov polsatisfaction age i.male if country==840 
eststo us

#delimit ;
esttab bra ger phi rus us using tableD_2_crossnational.rtf,
starlevels(* .05 ** .01 *** .001) b(%9.3f) r2(%9.3f) nodepvars not 
se(%9.3f) replace;
#delimit cr 

* Table 7.3


svy:reg confICC edu finsathousehold leftright i.gal  feelcountry confgov polsatisfaction age i.male if country==76
eststo ICC

svy:reg confIMF edu finsathousehold leftright i.gal  feelcountry confgov polsatisfaction age i.male if country==76
eststo IMF

svy:reg confUN edu finsathousehold leftright i.gal  feelcountry confgov polsatisfaction age i.male if country==76
eststo UN

svy:reg confWB edu finsathousehold leftright i.gal  feelcountry confgov polsatisfaction age i.male if country==76
eststo WB

svy:reg confWHO edu finsathousehold leftright i.gal  feelcountry confgov polsatisfaction age i.male if country==76
eststo WHO

svy:reg confWTO edu finsathousehold leftright i.gal  feelcountry confgov polsatisfaction age i.male if country==76
eststo WTO

#delimit ;
esttab  ICC IMF UN WB WHO WTO using tableD_3_BRA.rtf,
starlevels(* .05 ** .01 *** .001) b(%9.3f) r2(%9.3f) nodepvars 
se(%9.3f) replace;
#delimit cr 

* Table 7.4


svy:reg confICC edu finsathousehold leftright i.gal  feelcountry confgov polsatisfaction age i.male if country==276
eststo ICC

svy:reg confIMF edu finsathousehold leftright i.gal  feelcountry confgov polsatisfaction age i.male if country==276
eststo IMF

svy:reg confUN edu finsathousehold leftright i.gal  feelcountry confgov polsatisfaction age i.male if country==276
eststo UN

svy:reg confWB edu finsathousehold leftright i.gal  feelcountry confgov polsatisfaction age i.male if country==276
eststo WB

svy:reg confWHO edu finsathousehold leftright i.gal  feelcountry confgov polsatisfaction age i.male if country==276
eststo WHO

svy:reg confWTO edu finsathousehold leftright i.gal  feelcountry confgov polsatisfaction age i.male if country==276
eststo WTO

#delimit ;
esttab  ICC IMF UN WB WHO WTO using tableD_4_DE.rtf,
starlevels(* .05 ** .01 *** .001) b(%9.3f) r2(%9.3f) nodepvars 
se(%9.3f) replace;
#delimit cr 

* Table 7.5


svy:reg confICC edu finsathousehold leftright i.gal  feelcountry confgov polsatisfaction age i.male if country==608
eststo ICC

svy:reg confIMF edu finsathousehold leftright i.gal  feelcountry confgov polsatisfaction age i.male if country==608
eststo IMF

svy:reg confUN edu finsathousehold leftright i.gal  feelcountry confgov polsatisfaction age i.male if country==608
eststo UN

svy:reg confWB edu finsathousehold leftright i.gal  feelcountry confgov polsatisfaction age i.male if country==608
eststo WB

svy:reg confWHO edu finsathousehold leftright i.gal  feelcountry confgov polsatisfaction age i.male if country==608
eststo WHO

svy:reg confWTO edu finsathousehold leftright i.gal  feelcountry confgov polsatisfaction age i.male if country==608
eststo WTO

#delimit ;
esttab  ICC IMF UN WB WHO WTO using tableD_5_PHI.rtf,
starlevels(* .05 ** .01 *** .001) b(%9.3f) r2(%9.3f) nodepvars 
se(%9.3f) replace;
#delimit cr 

* Table 7.6


svy:reg confICC edu finsathousehold leftright i.gal  feelcountry confgov polsatisfaction age i.male if country==643
eststo ICC

svy:reg confIMF edu finsathousehold leftright i.gal  feelcountry confgov polsatisfaction age i.male if country==643
eststo IMF

svy:reg confUN edu finsathousehold leftright i.gal  feelcountry confgov polsatisfaction age i.male if country==643
eststo UN

svy:reg confWB edu finsathousehold leftright i.gal  feelcountry confgov polsatisfaction age i.male if country==643
eststo WB

svy:reg confWHO edu finsathousehold leftright i.gal  feelcountry confgov polsatisfaction age i.male if country==643
eststo WHO

svy:reg confWTO edu finsathousehold leftright i.gal  feelcountry confgov polsatisfaction age i.male if country==643
eststo WTO

#delimit ;
esttab  ICC IMF UN WB WHO WTO using tableD_6_RU.rtf,
starlevels(* .05 ** .01 *** .001) b(%9.3f) r2(%9.3f) nodepvars 
se(%9.3f) replace;
#delimit cr 

* Table 7.7


svy:reg confICC edu finsathousehold leftright i.gal  feelcountry confgov polsatisfaction age i.male if country==840
eststo ICC

svy:reg confIMF edu finsathousehold leftright i.gal  feelcountry confgov polsatisfaction age i.male if country==840
eststo IMF

svy:reg confUN edu finsathousehold leftright i.gal  feelcountry confgov polsatisfaction age i.male if country==840
eststo UN

svy:reg confWB edu finsathousehold leftright i.gal  feelcountry confgov polsatisfaction age i.male if country==840
eststo WB

svy:reg confWHO edu finsathousehold leftright i.gal  feelcountry confgov polsatisfaction age i.male if country==840
eststo WHO

svy:reg confWTO edu finsathousehold leftright i.gal  feelcountry confgov polsatisfaction age i.male if country==840
eststo WTO

#delimit ;
esttab  ICC IMF UN WB WHO WTO using tableD_7_US.rtf,
starlevels(* .05 ** .01 *** .001) b(%9.3f) r2(%9.3f) nodepvars 
se(%9.3f) replace;
#delimit cr 



*E.      Mediation analysis social trust WVS7
 

 


* Mediation analysis: test expectation that social trust is the source for the relationship 

* (Baron and Kenny’s mediation analysis, with a Sobel test).
//Step 1: regression as in table 7.1
//	IF there is a relationship between domestic trust and IO confidence, proceed to step 2.
//Step 2: regression as in table 7.1 but excluding confidence in government, resp. political satisfaction, and including social trust.
//	IF there is a relationship between social trust and IO confidence, proceed to step 3.
//Step 3: include all variables above in the model.
//	IF the relationship between domestic trust and confidence in IOs weakens then there is mediation by social trust.


* Step 1 is Table 7.1 -> yes, there is a relationship between domestic trust and IO confidence.

* Step 2: replicate Table 7.1, but respectively drop confidence in government and political satisfaction, but add social trust instead.



* replace confgov by gentrust

svy:reg confios edu finsathousehold leftright i.gal feelworld feelcountry gentrust polsatisfaction age i.male cd2-cd5 
eststo all

svy:reg confICC edu finsathousehold leftright i.gal feelworld feelcountry gentrust polsatisfaction age i.male cd2-cd5  
eststo ICC

svy:reg confIMF edu finsathousehold leftright i.gal feelworld feelcountry gentrust polsatisfaction age i.male cd2-cd5  
eststo IMF

svy:reg confUN edu finsathousehold leftright i.gal feelworld feelcountry gentrust polsatisfaction age i.male cd2-cd5  
eststo UN

svy:reg confWB edu finsathousehold leftright i.gal feelworld feelcountry gentrust polsatisfaction age i.male cd2-cd5  
eststo WB

svy:reg confWHO edu finsathousehold leftright i.gal feelworld feelcountry gentrust polsatisfaction age i.male cd2-cd5  
eststo WHO

svy:reg confWTO edu finsathousehold leftright i.gal feelworld feelcountry gentrust polsatisfaction age i.male cd2-cd5  
eststo WTO

#delimit ;
esttab all ICC IMF UN WB WHO WTO using tableE_1_confgovreplacedwithgentrust.rtf,
starlevels(* .05 ** .01 *** .001) b(%9.3f) r2(%9.3f) nodepvars not 
se(%9.3f) replace;
#delimit cr

 

* replace polsatisfaction by gentrust

svy:reg confios edu finsathousehold leftright i.gal feelworld feelcountry confgov gentrust age i.male cd2-cd5 
eststo all

svy:reg confICC edu finsathousehold leftright i.gal feelworld feelcountry confgov gentrust age i.male cd2-cd5  
eststo ICC

svy:reg confIMF edu finsathousehold leftright i.gal feelworld feelcountry confgov gentrust age i.male cd2-cd5  
eststo IMF

svy:reg confUN edu finsathousehold leftright i.gal feelworld feelcountry confgov gentrust age i.male cd2-cd5  
eststo UN

svy:reg confWB edu finsathousehold leftright i.gal feelworld feelcountry confgov gentrust age i.male cd2-cd5  
eststo WB

svy:reg confWHO edu finsathousehold leftright i.gal feelworld feelcountry confgov gentrust age i.male cd2-cd5  
eststo WHO

svy:reg confWTO edu finsathousehold leftright i.gal feelworld feelcountry confgov gentrust age i.male cd2-cd5  
eststo WTO

#delimit ;
esttab all ICC IMF UN WB WHO WTO using tableE_2_polsatisfactionreplacedwithgentrust.rtf,
starlevels(* .05 ** .01 *** .001) b(%9.3f) r2(%9.3f) nodepvars not 
se(%9.3f) replace;
#delimit cr 

// there is a direct relationship with gentrust in all cases, so for all of these proceed to step 3



svy:reg confios edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male cd2-cd5 gentrust
eststo all

svy:reg confICC edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male cd2-cd5 gentrust 
eststo ICC

svy:reg confIMF edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male cd2-cd5 gentrust 
eststo IMF

svy:reg confUN edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male cd2-cd5 gentrust 
eststo UN

svy:reg confWB edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male cd2-cd5 gentrust 
eststo WB

svy:reg confWHO edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male cd2-cd5 gentrust 
eststo WHO

svy:reg confWTO edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male cd2-cd5 gentrust 
eststo WTO

#delimit ;
esttab all ICC IMF UN WB WHO WTO using tableE_3.rtf,
starlevels(* .05 ** .01 *** .001) b(%9.3f) r2(%9.3f) nodepvars not 
se(%9.3f) replace;
#delimit cr 


* test E3 in countries separately:



svy:reg confios edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male gentrust if country==76
eststo all

svy:reg confICC edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male gentrust  if country==76
eststo ICC

svy:reg confIMF edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male gentrust  if country==76
eststo IMF

svy:reg confUN edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male gentrust  if country==76
eststo UN

svy:reg confWB edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male gentrust  if country==76
eststo WB

svy:reg confWHO edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male gentrust  if country==76
eststo WHO

svy:reg confWTO edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male gentrust  if country==76
eststo WTO

#delimit ;
esttab all ICC IMF UN WB WHO WTO using tableE_3_BRA.rtf,
starlevels(* .05 ** .01 *** .001) b(%9.3f) r2(%9.3f) nodepvars not 
se(%9.3f) replace;
#delimit cr 




svy:reg confios edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male gentrust if country==276
eststo all

svy:reg confICC edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male gentrust  if country==276
eststo ICC

svy:reg confIMF edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male gentrust  if country==276
eststo IMF

svy:reg confUN edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male gentrust  if country==276
eststo UN

svy:reg confWB edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male gentrust  if country==276
eststo WB

svy:reg confWHO edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male gentrust  if country==276
eststo WHO

svy:reg confWTO edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male gentrust  if country==276
eststo WTO

#delimit ;
esttab all ICC IMF UN WB WHO WTO using tableE_3_DE.rtf,
starlevels(* .05 ** .01 *** .001) b(%9.3f) r2(%9.3f) nodepvars not 
se(%9.3f) replace;
#delimit cr 




svy:reg confios edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male gentrust if country==608
eststo all

svy:reg confICC edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male gentrust  if country==608
eststo ICC

svy:reg confIMF edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male gentrust  if country==608
eststo IMF

svy:reg confUN edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male gentrust  if country==608
eststo UN

svy:reg confWB edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male gentrust  if country==608
eststo WB

svy:reg confWHO edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male gentrust  if country==608
eststo WHO

svy:reg confWTO edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male gentrust  if country==608
eststo WTO

#delimit ;
esttab all ICC IMF UN WB WHO WTO using tableE_3_PHI.rtf,
starlevels(* .05 ** .01 *** .001) b(%9.3f) r2(%9.3f) nodepvars not 
se(%9.3f) replace;
#delimit cr 




svy:reg confios edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male gentrust if country==643
eststo all

svy:reg confICC edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male gentrust  if country==643
eststo ICC

svy:reg confIMF edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male gentrust  if country==643
eststo IMF

svy:reg confUN edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male gentrust  if country==643
eststo UN

svy:reg confWB edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male gentrust  if country==643
eststo WB

svy:reg confWHO edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male gentrust  if country==643
eststo WHO

svy:reg confWTO edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male gentrust  if country==643
eststo WTO

#delimit ;
esttab all ICC IMF UN WB WHO WTO using tableE_3_RUS.rtf,
starlevels(* .05 ** .01 *** .001) b(%9.3f) r2(%9.3f) nodepvars not 
se(%9.3f) replace;
#delimit cr 




svy:reg confios edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male gentrust if country==840
eststo all

svy:reg confICC edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male gentrust  if country==840
eststo ICC

svy:reg confIMF edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male gentrust  if country==840
eststo IMF

svy:reg confUN edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male gentrust  if country==840
eststo UN

svy:reg confWB edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male gentrust  if country==840
eststo WB

svy:reg confWHO edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male gentrust  if country==840
eststo WHO

svy:reg confWTO edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male gentrust  if country==840
eststo WTO

#delimit ;
esttab all ICC IMF UN WB WHO WTO using tableE_3_US.rtf,
starlevels(* .05 ** .01 *** .001) b(%9.3f) r2(%9.3f) nodepvars not 
se(%9.3f) replace;
#delimit cr 




*F.      Heuristic test knowledge about global governance WVS7

* Table 7.1

svy:reg confios edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow cd2-cd5
eststo all

svy:reg confICC edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow cd2-cd5 
eststo ICC

svy:reg confIMF edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow cd2-cd5 
eststo IMF

svy:reg confUN edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow cd2-cd5 
eststo UN

svy:reg confWB edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow cd2-cd5 
eststo WB

svy:reg confWHO edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow cd2-cd5 
eststo WHO

svy:reg confWTO edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow cd2-cd5 
eststo WTO

#delimit ;
esttab all ICC IMF UN WB WHO WTO using tableF_1.rtf,
starlevels(* .05 ** .01 *** .001) b(%9.3f) r2(%9.3f) nodepvars not 
se(%9.3f) replace;
#delimit cr 

* Table 7.2

svy:reg confios edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow if country==76 
eststo bra

svy:reg confios edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow if country==276 
eststo ger

svy:reg confios edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow if country==608
eststo phi

svy:reg confios edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow if country==643
eststo rus

svy:reg confios edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow if country==840 
eststo us

#delimit ;
esttab bra ger phi rus us using tableF_2.rtf,
starlevels(* .05 ** .01 *** .001) b(%9.3f) r2(%9.3f) nodepvars not 
se(%9.3f) replace;
#delimit cr 

* Table 7.3


svy:reg confICC edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow if country==76
eststo ICC

svy:reg confIMF edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow if country==76
eststo IMF

svy:reg confUN edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow if country==76
eststo UN

svy:reg confWB edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow if country==76
eststo WB

svy:reg confWHO edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow if country==76
eststo WHO

svy:reg confWTO edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow if country==76
eststo WTO

#delimit ;
esttab  ICC IMF UN WB WHO WTO using tableF_3_BRA.rtf,
starlevels(* .05 ** .01 *** .001) b(%9.3f) r2(%9.3f) nodepvars 
se(%9.3f) replace;
#delimit cr 

* Table 7.4


svy:reg confICC edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow if country==276
eststo ICC

svy:reg confIMF edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow if country==276
eststo IMF

svy:reg confUN edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow if country==276
eststo UN

svy:reg confWB edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow if country==276
eststo WB

svy:reg confWHO edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow if country==276
eststo WHO

svy:reg confWTO edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow if country==276
eststo WTO

#delimit ;
esttab  ICC IMF UN WB WHO WTO using tableF_4_DE.rtf,
starlevels(* .05 ** .01 *** .001) b(%9.3f) r2(%9.3f) nodepvars 
se(%9.3f) replace;
#delimit cr 

* Table 7.5


svy:reg confICC edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow if country==608
eststo ICC

svy:reg confIMF edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow if country==608
eststo IMF

svy:reg confUN edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow if country==608
eststo UN

svy:reg confWB edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow if country==608
eststo WB

svy:reg confWHO edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow if country==608
eststo WHO

svy:reg confWTO edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow if country==608
eststo WTO

#delimit ;
esttab  ICC IMF UN WB WHO WTO using tableF_5_PHI.rtf,
starlevels(* .05 ** .01 *** .001) b(%9.3f) r2(%9.3f) nodepvars 
se(%9.3f) replace;
#delimit cr 

* Table 7.6


svy:reg confICC edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow if country==643
eststo ICC

svy:reg confIMF edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow if country==643
eststo IMF

svy:reg confUN edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow if country==643
eststo UN

svy:reg confWB edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow if country==643
eststo WB

svy:reg confWHO edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow if country==643
eststo WHO

svy:reg confWTO edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow if country==643
eststo WTO

#delimit ;
esttab  ICC IMF UN WB WHO WTO using tableF_6_RU.rtf,
starlevels(* .05 ** .01 *** .001) b(%9.3f) r2(%9.3f) nodepvars 
se(%9.3f) replace;
#delimit cr 

* Table 7.7


svy:reg confICC edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow if country==840
eststo ICC

svy:reg confIMF edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow if country==840
eststo IMF

svy:reg confUN edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow if country==840
eststo UN

svy:reg confWB edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow if country==840
eststo WB

svy:reg confWHO edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow if country==840
eststo WHO

svy:reg confWTO edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow if country==840
eststo WTO

#delimit ;
esttab  ICC IMF UN WB WHO WTO using tableF_7_US.rtf,
starlevels(* .05 ** .01 *** .001) b(%9.3f) r2(%9.3f) nodepvars 
se(%9.3f) replace;
#delimit cr 




gen polknowxconfgov=polknow*confgov

* Table 7.1

svy:reg confios edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow polknowxconfgov cd2-cd5
eststo all

svy:reg confICC edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow polknowxconfgov cd2-cd5 
eststo ICC

svy:reg confIMF edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow polknowxconfgov cd2-cd5 
eststo IMF

svy:reg confUN edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow polknowxconfgov cd2-cd5 
eststo UN

svy:reg confWB edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow polknowxconfgov cd2-cd5 
eststo WB

svy:reg confWHO edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow polknowxconfgov cd2-cd5 
eststo WHO

svy:reg confWTO edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow polknowxconfgov cd2-cd5 
eststo WTO

#delimit ;
esttab all ICC IMF UN WB WHO WTO using tableF_8.rtf,
starlevels(* .05 ** .01 *** .001) b(%9.3f) r2(%9.3f) nodepvars not 
se(%9.3f) replace;
#delimit cr 

* Table 7.2

svy:reg confios edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow polknowxconfgov if country==76 
eststo bra

svy:reg confios edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow polknowxconfgov if country==276 
eststo ger

svy:reg confios edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow polknowxconfgov if country==608
eststo phi

svy:reg confios edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow polknowxconfgov if country==643
eststo rus

svy:reg confios edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow polknowxconfgov if country==840 
eststo us

#delimit ;
esttab bra ger phi rus us using tableF_9.rtf,
starlevels(* .05 ** .01 *** .001) b(%9.3f) r2(%9.3f) nodepvars not 
se(%9.3f) replace;
#delimit cr 

* Table 7.3


svy:reg confICC edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow polknowxconfgov if country==76
eststo ICC

svy:reg confIMF edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow polknowxconfgov if country==76
eststo IMF

svy:reg confUN edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow polknowxconfgov if country==76
eststo UN

svy:reg confWB edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow polknowxconfgov if country==76
eststo WB

svy:reg confWHO edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow polknowxconfgov if country==76
eststo WHO

svy:reg confWTO edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow polknowxconfgov if country==76
eststo WTO

#delimit ;
esttab  ICC IMF UN WB WHO WTO using tableF_10_BRA.rtf,
starlevels(* .05 ** .01 *** .001) b(%9.3f) r2(%9.3f) nodepvars 
se(%9.3f) replace;
#delimit cr 

* Table 7.4


svy:reg confICC edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow polknowxconfgov if country==276
eststo ICC

svy:reg confIMF edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow polknowxconfgov if country==276
eststo IMF

svy:reg confUN edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow polknowxconfgov if country==276
eststo UN

svy:reg confWB edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow polknowxconfgov if country==276
eststo WB

svy:reg confWHO edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow polknowxconfgov if country==276
eststo WHO

svy:reg confWTO edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow polknowxconfgov if country==276
eststo WTO

#delimit ;
esttab  ICC IMF UN WB WHO WTO using tableF_11_DE.rtf,
starlevels(* .05 ** .01 *** .001) b(%9.3f) r2(%9.3f) nodepvars 
se(%9.3f) replace;
#delimit cr 

* Table 7.5


svy:reg confICC edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow polknowxconfgov if country==608
eststo ICC

svy:reg confIMF edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow polknowxconfgov if country==608
eststo IMF

svy:reg confUN edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow polknowxconfgov if country==608
eststo UN

svy:reg confWB edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow polknowxconfgov if country==608
eststo WB

svy:reg confWHO edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow polknowxconfgov if country==608
eststo WHO

svy:reg confWTO edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow polknowxconfgov if country==608
eststo WTO

#delimit ;
esttab  ICC IMF UN WB WHO WTO using tableF_12_PHI.rtf,
starlevels(* .05 ** .01 *** .001) b(%9.3f) r2(%9.3f) nodepvars 
se(%9.3f) replace;
#delimit cr 

* Table 7.6


svy:reg confICC edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow polknowxconfgov if country==643
eststo ICC

svy:reg confIMF edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow polknowxconfgov if country==643
eststo IMF

svy:reg confUN edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow polknowxconfgov if country==643
eststo UN

svy:reg confWB edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow polknowxconfgov if country==643
eststo WB

svy:reg confWHO edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow polknowxconfgov if country==643
eststo WHO

svy:reg confWTO edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow polknowxconfgov if country==643
eststo WTO

#delimit ;
esttab  ICC IMF UN WB WHO WTO using tableF_13_RU.rtf,
starlevels(* .05 ** .01 *** .001) b(%9.3f) r2(%9.3f) nodepvars 
se(%9.3f) replace;
#delimit cr 

* Table 7.7


svy:reg confICC edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow polknowxconfgov if country==840
eststo ICC

svy:reg confIMF edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow polknowxconfgov if country==840
eststo IMF

svy:reg confUN edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow polknowxconfgov if country==840
eststo UN

svy:reg confWB edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow polknowxconfgov if country==840
eststo WB

svy:reg confWHO edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow polknowxconfgov if country==840
eststo WHO

svy:reg confWTO edu finsathousehold leftright i.gal feelworld feelcountry confgov polsatisfaction age i.male polknow polknowxconfgov if country==840
eststo WTO

#delimit ;
esttab  ICC IMF UN WB WHO WTO using tableF_14_US.rtf,
starlevels(* .05 ** .01 *** .001) b(%9.3f) r2(%9.3f) nodepvars 
se(%9.3f) replace;
#delimit cr 


* G

ssc install iccvar

preserve
keep D_INTERVIEW country confUN confIMF confICC confWB confWHO confWTO
reshape long conf@, i(D_INTERVIEW country) j(io) string
ed 
encode io, gen(ionum)

xtmixed conf || country: || ionum: 
iccvar

